/*
 * tools.h
 *
 *  Created on: 23.10.2011
 *      Author: David
 */

#ifndef TOOLS_H_
#define TOOLS_H_

#include "typedef.h"

#define U8_INVERT(x) ((x)^0xFF)

extern void u82bcd(u8 val,u8 result[]);

#endif /* TOOLS_H_ */
